/**
 * @(#)RedDuckt (c) 2014-2018 一抹风光
 *
 * DESC:
 *
 */
package com.pattern.p_01_strategy.demo2;


/**
 * @author fusf
 * @version 1.0  2016/10/23
 */
public class RedDuck extends Duck {

    public RedDuck(){
        flyBehavior = new GoodFlyBehavior();
        quackBehavior = new GoodQuackBehavior();
    }

    @Override
    public void display() {
        System.out.println("红头鸭");
    }
}
